 <#import "../macro/macro.ftl" as m>
 <@m.headContent />
 
 	<#--用户页面样式文件的引入-->
	<script type="text/javascript" src="http://webapi.amap.com/maps?v=${version}&key=${key}"></script> 
	
     <script type="text/javascript">
		$(function() {
			var cityJs =new $.CityRowClick({
				provinceGrid:"province",
				cityGrid:"city",
				url:"${dic_path}/city/listData",
				distristGrid:"distrist",
				communityGrid:"community",
				mapid:"amapcity"
			});
			cityJs.init();
		});
	 </script>
	 
 	<div  class="easyui-layout" data-options="fit:true">
 		<div data-options="region:'west',split:true"  style="width:350px;">
 			<div class="easyui-panel" title="省" 
    			data-options="iconCls:'icon-save',fit:true,border:false">
    			<@m.DataGrideNoPage tableId="province"  columns=provincecolumns url="${dic_path}/city/listData?code=${rootCode}" toolbar="false" single="true"/>
			</div>
 		</div>
 		<div data-options="region:'center',border:false">
 			<div  class="easyui-layout" data-options="fit:true,border:false">
        		<div data-options="region:'center',split:true">
        			<div class="easyui-panel" title="市" 
		    			data-options="iconCls:'icon-save',fit:true,border:false">
		    			<@m.DataGrideNoPage tableId="city"  columns=citycolumns  toolbar="false" single="true"/>
					</div>
        		</div>
        		<div data-options="region:'east',split:true" style="width:350px;">
        			<div class="easyui-panel" title="区/县" 
		    			data-options="iconCls:'icon-save',fit:true,border:false">
		    			<@m.DataGrideNoPage tableId="distrist"  columns=districtcolumns  toolbar="false" single="true"/>
					</div>
        		</div>
        	</div>
 		</div>
 		<div data-options="region:'east',split:true" style="width:300px;">
        	<div class="easyui-panel" title="乡/镇" 
		    			data-options="iconCls:'icon-save',fit:true,border:false">
		    			<@m.DataGrideNoPage tableId="community"  columns=communitycolumns  toolbar="false" single="true"/>
			</div>
        </div>
        <div data-options="region:'south',split:true" style="height:250px;">
        	<div  class="easyui-layout" data-options="fit:true,border:false">
        		<div data-options="region:'center',split:true">
        			<div id="citymsginfo" class="easyui-panel" title="描述" 
		    			data-options="iconCls:'icon-save',fit:true,border:false">
					</div>
        		</div>
        		<div data-options="region:'east',split:true" style="width:670px;">
        			<div id="amapcity" class="easyui-panel" title="坐标" 
		    			data-options="iconCls:'icon-save',fit:true,border:false">
		    				
					</div>
        		</div>
        	</div>
        </div>
 	</div>
    
